var data = [{
        id: 1,
        name: '小明',
        age: 24,
        gender: '男'
    },
    {
        id: 2,
        name: '小芳',
        age: 30,
        gender: '女'
    },
    {
        id: 3,
        name: '小美',
        age: 31,
        gender: '女'
    },
    {
        id: 4,
        name: '小刚',
        age: 21,
        gender: '男'
    },
    {
        id: 5,
        name: '小琪',
        age: 18,
        gender: '女'
    }
];